package roborally;

//DOCUMENTATIE KLAAR, NAGEKEKEN MICHIEL?

import java.util.ArrayList;
import java.util.List;

/**
 * An enum PlaceableType, that holds all possible types of Placeables(ROBOT, BATTERY, WALL, REPAIRKIT, SUPRISEBOX).
 * 
 * @version  2.90
 * @author   Michiel Ruelens & Dieter Naten
 */
public enum PlaceableType {
	ROBOT, BATTERY, WALL, REPAIRKIT, SURPRISEBOX;
	
	/**
	 * This method returns a list with all possible types of a placeable.
	 * 
	 * @return  A list with all possible types of a placeable
	 * 			| result ==
	 * 			| resultList
	 */
	public static List<PlaceableType> getAllPlaceableTypes(){
		List<PlaceableType> resultList = new ArrayList<PlaceableType>();
		resultList.add(ROBOT);
		resultList.add(BATTERY);
		resultList.add(WALL);
		resultList.add(REPAIRKIT);
		resultList.add(SURPRISEBOX);
		return resultList;
	}
}
